package com.coocaa.x.service.liteplayer.aidl;
import com.coocaa.x.service.liteplayer.aidl.ReadyInfo;
import com.coocaa.x.service.liteplayer.aidl.VideoSourceInfo;

interface ILitePlayer
{
	void getReady(in ReadyInfo info);
	boolean start(in VideoSourceInfo url, String videoName);
	boolean pause();
	boolean resume();
	boolean stop();
	boolean seekTo(int milliSeconds);
	boolean isPlaying();
	int getCurrentTimeInMillis();
	int getDuration();
	void errorOccurred(String errorType, String videoName);
}